package com.sams.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sams.entity.Authority;

public interface AuthorityService {
	public List<Authority> selectAthorByRoleId(int roleId);

	public int add(Authority authority);

	public PageInfo<Authority> listByPage(Integer currentPage);

	public int delete(Integer uid,Integer roleid);
}
